Optimal. Leaf size=47 \[ -\frac{\tanh ^{-1}\left (\frac{2 a+b x^n}{2 \sqrt{a} \sqrt{a+b x^n+c x^{2 n}}}\right )}{\sqrt{a} n} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0334797, antiderivative size = 47, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.136, Rules used = {1357, 724, 206} \[ -\frac{\tanh ^{-1}\left (\frac{2 a+b x^n}{2 \sqrt{a} \sqrt{a+b x^n+c x^{2 n}}}\right )}{\sqrt{a} n} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1357
Rule 724
Rule 206
Rubi steps
\begin{align*} \int \frac{1}{x \sqrt{a+b x^n+c x^{2 n}}} \, dx &=\frac{\operatorname{Subst}\left (\int \frac{1}{x \sqrt{a+b x+c x^2}} \, dx,x,x^n\right )}{n}\\ &=-\frac{2 \operatorname{Subst}\left (\int \frac{1}{4 a-x^2} \, dx,x,\frac{2 a+b x^n}{\sqrt{a+b x^n+c x^{2 n}}}\right )}{n}\\ &=-\frac{\tanh ^{-1}\left (\frac{2 a+b x^n}{2 \sqrt{a} \sqrt{a+b x^n+c x^{2 n}}}\right )}{\sqrt{a} n}\\ \end{align*}
Mathematica [A] time = 0.0656383, size = 47, normalized size = 1. \[ -\frac{\tanh ^{-1}\left (\frac{2 a+b x^n}{2 \sqrt{a} \sqrt{a+b x^n+c x^{2 n}}}\right )}{\sqrt{a} n} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.033, size = 0, normalized size = 0. \begin{align*} \int{\frac{1}{x}{\frac{1}{\sqrt{a+b{x}^{n}+c{x}^{2\,n}}}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{\sqrt{c x^{2 \, n} + b x^{n} + a} x}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.86126, size = 347, normalized size = 7.38 \begin{align*} \left [\frac{\log \left (-\frac{8 \, a b x^{n} + 8 \, a^{2} +{\left (b^{2} + 4 \, a c\right )} x^{2 \, n} - 4 \,{\left (\sqrt{a} b x^{n} + 2 \, a^{\frac{3}{2}}\right )} \sqrt{c x^{2 \, n} + b x^{n} + a}}{x^{2 \, n}}\right )}{2 \, \sqrt{a} n}, \frac{\sqrt{-a} \arctan \left (\frac{{\left (\sqrt{-a} b x^{n} + 2 \, \sqrt{-a} a\right )} \sqrt{c x^{2 \, n} + b x^{n} + a}}{2 \,{\left (a c x^{2 \, n} + a b x^{n} + a^{2}\right )}}\right )}{a n}\right ] \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{x \sqrt{a + b x^{n} + c x^{2 n}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{\sqrt{c x^{2 \, n} + b x^{n} + a} x}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]